package com.ruoyi.accountant.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Accessors(chain = true)
public class Reason {
    private Long rid;
    private String rname;
    private String rcode;
    private String rtype;
    private Long parent;
    private Date createtime;
    private Integer level;

    private List<Reason> subreasonList;
}